package com.yetianhua.sqlsession;

import java.util.List;

/**
 * @author yetianhua
 * @className SqlSession
 * @description TODO
 * @date 2021/5/30
 * @time 11:23
 */
public interface SqlSession {

    public <T> List<T> selectList(String statementId, Object... param) throws Exception;

    public <T> T selectOne(String statementId, Object... param) throws Exception;

    public <T> T getMapper(Class<T> mapperClass);

}
